package Homework.Top04;

import java.io.File;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Scanner;

public class Top04 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        String  path=input.next();
        System.out.println("请输入文件");
        File a=new File(path);
        System.out.println(Arrays.toString(a.list()));
        System.out.println(Arrays.toString(a.listFiles()));
    }
}
